package com.example.collegevice.service;

import com.example.pojo.Account;
import com.example.pojo.Student;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface StudentService {
    void add(Student student);
    PageInfo<Student> selectPage(Student student, Integer pageNum, Integer pageSize);
    void updateById(Student student);
    void register(Account account);
    void deleteById(Integer id);
    Student selectById(Integer id);
    void updatePassword(Account account);
    Account login(Account account);

}
